package org.hombrewn.querydsl.model;

public class Animal {
	
	private SubClass subClass;
	
	private String name;
	
	public Animal(SubClass subClass, String name)
	{
		this.subClass = subClass;
	}

	public SubClass getSubClass() {
		return subClass;
	}

	public void setSubClass(SubClass subClass) {
		this.subClass = subClass;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
}
